package eva.savant.business.material.view

import eva.savant.core.view.Maestro
import eva.savant.businessobject.mt.Almacen
import eva.savant.businessobject.mt.Pexpedicion

import javax.faces.bean.ManagedBean
import javax.faces.bean.SessionScoped
import javax.annotation.PostConstruct

@SessionScoped
@ManagedBean(name = 'IMPuestoExpedicion')
public class IMPuestoExpedicion extends Maestro {

  def lsAlmacen

  @PostConstruct
  public void cleanEntity() {

    entity= new Pexpedicion(); init()

    entity.almacen= new Almacen()

    lsAlmacen= find(Almacen.class,'')
  }

}